import java.util.Scanner;

public class TeacherTest {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("Please input the GPA:");
        double GPA = sc.nextDouble();
        Teacher t = new Teacher();
        try {
            t.checkGPA(GPA);
        } catch (GPAException e) {
            e.printStackTrace();
        } finally {
            System.out.println("Done!");
        }
    }
}
